package com.gao.autowired.known;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @author GaoXi
 * @date 2022/2/24 20:04
 */
@Component
public class TestKnownDemo {

    @Autowired
    private ApplicationContext applicationContext;

    @PostConstruct
    public void test(){
        System.out.println("===:"+applicationContext);
    }

}
